<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
//禁止右键点击
//禁止文字复制
//禁止鼠标拖动图片
//IE不支持
document.oncontextmenu = function () {
return false;
};
document.onselectstart = function () {
return false;
};
document.ondragstart = function () {
return false;
};
document.oncopy = function () {
return false;
};

</body>
</html>
